package com.sykj.qianxuezhan.server.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sykj.qianxuezhan.bean.NurseBag;
import com.sykj.qianxuezhan.mapper.NurseBagMapper;
import com.sykj.qianxuezhan.server.NurseBagService;
import com.sykj.util.reponse.CommonEnum;
import com.sykj.util.reponse.ResultBody;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.Map;
import java.util.function.Function;

/**
 * @Author QianXuezhan
 * @Date 2020/8/6 8:59
 * @Description: TODO
 */
@Service
public class NurseBagSeviceImpl  extends ServiceImpl<NurseBagMapper, NurseBag> implements NurseBagService {

    @Autowired
    private  NurseBagMapper nurseBagMapper;
    @Override
    public ResultBody addNurseBag(NurseBag nurseBag) {
        nurseBagMapper.addNurseBag(nurseBag);
        return new ResultBody(CommonEnum.SUCCESS);
    }
}
